﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001001 RID: 4097
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournEnterLayerScRsp : IMessage<RogueTournEnterLayerScRsp>, IMessage, IEquatable<RogueTournEnterLayerScRsp>, IDeepCloneable<RogueTournEnterLayerScRsp>, IBufferMessage
	{
		// Token: 0x170033D1 RID: 13265
		// (get) Token: 0x0600B743 RID: 46915 RVA: 0x001EE863 File Offset: 0x001ECA63
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournEnterLayerScRsp> Parser
		{
			get
			{
				return RogueTournEnterLayerScRsp._parser;
			}
		}

		// Token: 0x170033D2 RID: 13266
		// (get) Token: 0x0600B744 RID: 46916 RVA: 0x001EE86A File Offset: 0x001ECA6A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournEnterLayerScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170033D3 RID: 13267
		// (get) Token: 0x0600B745 RID: 46917 RVA: 0x001EE87C File Offset: 0x001ECA7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournEnterLayerScRsp.Descriptor;
			}
		}

		// Token: 0x0600B746 RID: 46918 RVA: 0x001EE883 File Offset: 0x001ECA83
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournEnterLayerScRsp()
		{
		}

		// Token: 0x0600B747 RID: 46919 RVA: 0x001EE88C File Offset: 0x001ECA8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournEnterLayerScRsp(RogueTournEnterLayerScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.rogueTournCurSceneInfo_ = ((other.rogueTournCurSceneInfo_ != null) ? other.rogueTournCurSceneInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B748 RID: 46920 RVA: 0x001EE8D8 File Offset: 0x001ECAD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournEnterLayerScRsp Clone()
		{
			return new RogueTournEnterLayerScRsp(this);
		}

		// Token: 0x170033D4 RID: 13268
		// (get) Token: 0x0600B749 RID: 46921 RVA: 0x001EE8E0 File Offset: 0x001ECAE0
		// (set) Token: 0x0600B74A RID: 46922 RVA: 0x001EE8E8 File Offset: 0x001ECAE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170033D5 RID: 13269
		// (get) Token: 0x0600B74B RID: 46923 RVA: 0x001EE8F1 File Offset: 0x001ECAF1
		// (set) Token: 0x0600B74C RID: 46924 RVA: 0x001EE8F9 File Offset: 0x001ECAF9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournCurSceneInfo RogueTournCurSceneInfo
		{
			get
			{
				return this.rogueTournCurSceneInfo_;
			}
			set
			{
				this.rogueTournCurSceneInfo_ = value;
			}
		}

		// Token: 0x0600B74D RID: 46925 RVA: 0x001EE902 File Offset: 0x001ECB02
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournEnterLayerScRsp);
		}

		// Token: 0x0600B74E RID: 46926 RVA: 0x001EE910 File Offset: 0x001ECB10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournEnterLayerScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.RogueTournCurSceneInfo, other.RogueTournCurSceneInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B74F RID: 46927 RVA: 0x001EE960 File Offset: 0x001ECB60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.rogueTournCurSceneInfo_ != null)
			{
				num ^= this.RogueTournCurSceneInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B750 RID: 46928 RVA: 0x001EE9B5 File Offset: 0x001ECBB5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B751 RID: 46929 RVA: 0x001EE9BD File Offset: 0x001ECBBD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B752 RID: 46930 RVA: 0x001EE9C8 File Offset: 0x001ECBC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rogueTournCurSceneInfo_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.RogueTournCurSceneInfo);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B753 RID: 46931 RVA: 0x001EEA24 File Offset: 0x001ECC24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.rogueTournCurSceneInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueTournCurSceneInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B754 RID: 46932 RVA: 0x001EEA7C File Offset: 0x001ECC7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournEnterLayerScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.rogueTournCurSceneInfo_ != null)
			{
				if (this.rogueTournCurSceneInfo_ == null)
				{
					this.RogueTournCurSceneInfo = new RogueTournCurSceneInfo();
				}
				this.RogueTournCurSceneInfo.MergeFrom(other.RogueTournCurSceneInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B755 RID: 46933 RVA: 0x001EEAE4 File Offset: 0x001ECCE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B756 RID: 46934 RVA: 0x001EEAF0 File Offset: 0x001ECCF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					if (num != 56U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.rogueTournCurSceneInfo_ == null)
					{
						this.RogueTournCurSceneInfo = new RogueTournCurSceneInfo();
					}
					input.ReadMessage(this.RogueTournCurSceneInfo);
				}
			}
		}

		// Token: 0x040049FE RID: 18942
		private static readonly MessageParser<RogueTournEnterLayerScRsp> _parser = new MessageParser<RogueTournEnterLayerScRsp>(() => new RogueTournEnterLayerScRsp());

		// Token: 0x040049FF RID: 18943
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004A00 RID: 18944
		public const int RetcodeFieldNumber = 7;

		// Token: 0x04004A01 RID: 18945
		private uint retcode_;

		// Token: 0x04004A02 RID: 18946
		public const int RogueTournCurSceneInfoFieldNumber = 1;

		// Token: 0x04004A03 RID: 18947
		private RogueTournCurSceneInfo rogueTournCurSceneInfo_;
	}
}
